<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                template="./template/HomeTemplate.xhtml"
                xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:p="http://primefaces.org/ui">

    <ui:define name="title">
        Contact Us
    </ui:define>
    
    <ui:define name="col1">
        <div class="pad2">
            <h2 class="pad_bot1 pad_top1">Contact Information</h2>
            <form id="ContactForm">
                <div>
                    <div  class="wrapper">
                        <span>Your Name:</span>
                        <h:inputText value="#{ContacDetailsMBean.contactName}" />
                        
                    </div>
                    <div  class="wrapper">
                        <span>Your E-mail:</span>
                        <h:inputText value="#{ContacDetailsMBean.contactEmail}" />
                    </div>
                    <div  class="textarea_box">
                        <span>Your Message:</span>
                        <h:inputTextarea value="#{ContacDetailsMBean.messages}" />
                    </div>
                    <span>&nbsp;</span>
                    <p:commandButton value="Send" action="#{ContacDetailsMBean.sendEmail()}" />                      
                                     
                    
                </div>
                
            </form>
        </div>
    </ui:define>

    
    <ui:define name="col1_2">
        
    </ui:define>

    
    <ui:define name="col2_2">
        
    </ui:define>

</ui:composition>
